package com.zheng.upms.rpc.service.impl;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.zheng.common.annotation.BaseService;
import com.zheng.common.base.BaseServiceImpl;
import com.zheng.common.constant.Constant;
import com.zheng.common.util.JsonUtil;
import com.zheng.upms.dao.mapper.UpmsAgentMapper;
import com.zheng.upms.dao.model.UpmsAgent;
import com.zheng.upms.dao.model.UpmsAgentExample;
import com.zheng.upms.rpc.api.UpmsAgentService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
* UpmsAgentService实现
* Created by shuzheng on 2018/9/11.
*/
@Service
@Transactional
@BaseService
public class UpmsAgentServiceImpl extends BaseServiceImpl<UpmsAgentMapper, UpmsAgent, UpmsAgentExample> implements UpmsAgentService {

    private static final Logger LOGGER = LoggerFactory.getLogger(UpmsAgentServiceImpl.class);

    @Autowired
    UpmsAgentMapper upmsAgentMapper;

    public JSONArray getTreeByAgentId(String agentId){

        return null;
    }

}